export default function (pxs, main, which) {
  if (main.isUp) return;
  if (pxs.length == 0) return;
  let px = pxs[0]
  if (main.eventName == "pointerDown") {
    main.setColor(px.color || "0xFFFFFF", which == 1 ? 0 : 1);
    main.emit("changeColor", main.color);
  }
};